projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f153db1
)
(syms_of_search): Staticpro searchbuf.whitespace_regexp.
author
Kim F. Storm
<storm@cua.dk>
Thu, 14 Jul 2005 11:24:08 +0000
(11:24 +0000)
committer
Kim F. Storm
<storm@cua.dk>
Thu, 14 Jul 2005 11:24:08 +0000
(11:24 +0000)
src/search.c
patch
|
blob
|
history
diff --git
a/src/search.c
b/src/search.c
index 6beaa2d4186a203ddb3f2e0dd400c9d25fb540ef..23807ffd5207d617d7e9a6720f9ecb62f8c0ee4c 100644
(file)
--- a/
src/search.c
+++ b/
src/search.c
@@
-3085,6
+3085,7
@@
syms_of_search ()
searchbufs[i].regexp = Qnil;
searchbufs[i].whitespace_regexp = Qnil;
staticpro (&searchbufs[i].regexp);
+ staticpro (&searchbufs[i].whitespace_regexp);
searchbufs[i].next = (i == REGEXP_CACHE_SIZE-1 ? 0 : &searchbufs[i+1]);
}
searchbuf_head = &searchbufs[0];